Optimal. Leaf size=89 \[ -\frac {16}{3} a \sqrt {a+a \cosh (x)}-\frac {8}{9} a \cosh ^2\left (\frac {x}{2}\right ) \sqrt {a+a \cosh (x)}+\frac {4}{3} a x \cosh \left (\frac {x}{2}\right ) \sqrt {a+a \cosh (x)} \sinh \left (\frac {x}{2}\right )+\frac {8}{3} a x \sqrt {a+a \cosh (x)} \tanh \left (\frac {x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3400, 3391,
3377, 2718} \begin {gather*} -\frac {8}{9} a \cosh ^2\left (\frac {x}{2}\right ) \sqrt {a \cosh (x)+a}-\frac {16}{3} a \sqrt {a \cosh (x)+a}+\frac {4}{3} a x \sinh \left (\frac {x}{2}\right ) \cosh \left (\frac {x}{2}\right ) \sqrt {a \cosh (x)+a}+\frac {8}{3} a x \tanh \left (\frac {x}{2}\right ) \sqrt {a \cosh (x)+a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2718
Rule 3377
Rule 3391
Rule 3400
Rubi steps
\begin {align*} \int x (a+a \cosh (x))^{3/2} \, dx &=\left (2 a \sqrt {a+a \cosh (x)} \text {sech}\left (\frac {x}{2}\right )\right ) \int x \cosh ^3\left (\frac {x}{2}\right ) \, dx\\ &=-\frac {8}{9} a \cosh ^2\left (\frac {x}{2}\right ) \sqrt {a+a \cosh (x)}+\frac {4}{3} a x \cosh \left (\frac {x}{2}\right ) \sqrt {a+a \cosh (x)} \sinh \left (\frac {x}{2}\right )+\frac {1}{3} \left (4 a \sqrt {a+a \cosh (x)} \text {sech}\left (\frac {x}{2}\right )\right ) \int x \cosh \left (\frac {x}{2}\right ) \, dx\\ &=-\frac {8}{9} a \cosh ^2\left (\frac {x}{2}\right ) \sqrt {a+a \cosh (x)}+\frac {4}{3} a x \cosh \left (\frac {x}{2}\right ) \sqrt {a+a \cosh (x)} \sinh \left (\frac {x}{2}\right )+\frac {8}{3} a x \sqrt {a+a \cosh (x)} \tanh \left (\frac {x}{2}\right )-\frac {1}{3} \left (8 a \sqrt {a+a \cosh (x)} \text {sech}\left (\frac {x}{2}\right )\right ) \int \sinh \left (\frac {x}{2}\right ) \, dx\\ &=-\frac {16}{3} a \sqrt {a+a \cosh (x)}-\frac {8}{9} a \cosh ^2\left (\frac {x}{2}\right ) \sqrt {a+a \cosh (x)}+\frac {4}{3} a x \cosh \left (\frac {x}{2}\right ) \sqrt {a+a \cosh (x)} \sinh \left (\frac {x}{2}\right )+\frac {8}{3} a x \sqrt {a+a \cosh (x)} \tanh \left (\frac {x}{2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 56, normalized size = 0.63 \begin {gather*} \frac {1}{9} a \sqrt {a (1+\cosh (x))} \text {sech}\left (\frac {x}{2}\right ) \left (-54 \cosh \left (\frac {x}{2}\right )-2 \cosh \left (\frac {3 x}{2}\right )+3 x \left (9 \sinh \left (\frac {x}{2}\right )+\sinh \left (\frac {3 x}{2}\right )\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.32, size = 0, normalized size = 0.00 \[\int x \left (a +a \cosh \left (x \right )\right )^{\frac {3}{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 92, normalized size = 1.03 \begin {gather*} -\frac {1}{18} \, {\left (3 \, \sqrt {2} a^{\frac {3}{2}} x + 2 \, \sqrt {2} a^{\frac {3}{2}} - {\left (3 \, \sqrt {2} a^{\frac {3}{2}} x - 2 \, \sqrt {2} a^{\frac {3}{2}}\right )} e^{\left (3 \, x\right )} - 27 \, {\left (\sqrt {2} a^{\frac {3}{2}} x - 2 \, \sqrt {2} a^{\frac {3}{2}}\right )} e^{\left (2 \, x\right )} + 27 \, {\left (\sqrt {2} a^{\frac {3}{2}} x + 2 \, \sqrt {2} a^{\frac {3}{2}}\right )} e^{x}\right )} e^{\left (-\frac {3}{2} \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \left (a \left (\cosh {\left (x \right )} + 1\right )\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 96, normalized size = 1.08 \begin {gather*} -\frac {1}{18} \, \sqrt {2} {\left (18 \, a^{\frac {3}{2}} x e^{\left (-\frac {1}{2} \, x\right )} + 3 \, a^{\frac {3}{2}} x e^{\left (-\frac {3}{2} \, x\right )} + 36 \, a^{\frac {3}{2}} e^{\left (-\frac {1}{2} \, x\right )} + 2 \, a^{\frac {3}{2}} e^{\left (-\frac {3}{2} \, x\right )} - {\left (3 \, a^{\frac {3}{2}} x - 2 \, a^{\frac {3}{2}}\right )} e^{\left (\frac {3}{2} \, x\right )} - 27 \, {\left (a^{\frac {3}{2}} x - 2 \, a^{\frac {3}{2}}\right )} e^{\left (\frac {1}{2} \, x\right )} + 9 \, {\left (a^{\frac {3}{2}} x + 2 \, a^{\frac {3}{2}}\right )} e^{\left (-\frac {1}{2} \, x\right )}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,{\left (a+a\,\mathrm {cosh}\left (x\right )\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________